Optimal. Leaf size=113 \[ \frac {b x \sqrt {a+b x^2}}{2 d}-\frac {\sqrt {b} (2 b c-3 a d) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 d^2}+\frac {(b c-a d)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b c-a d} x}{\sqrt {c} \sqrt {a+b x^2}}\right )}{\sqrt {c} d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 113, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {427, 537, 223,
212, 385, 214} \begin {gather*} \frac {(b c-a d)^{3/2} \tanh ^{-1}\left (\frac {x \sqrt {b c-a d}}{\sqrt {c} \sqrt {a+b x^2}}\right )}{\sqrt {c} d^2}-\frac {\sqrt {b} (2 b c-3 a d) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 d^2}+\frac {b x \sqrt {a+b x^2}}{2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 214
Rule 223
Rule 385
Rule 427
Rule 537
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^{3/2}}{c+d x^2} \, dx &=\frac {b x \sqrt {a+b x^2}}{2 d}+\frac {\int \frac {-a (b c-2 a d)-b (2 b c-3 a d) x^2}{\sqrt {a+b x^2} \left (c+d x^2\right )} \, dx}{2 d}\\ &=\frac {b x \sqrt {a+b x^2}}{2 d}-\frac {(b (2 b c-3 a d)) \int \frac {1}{\sqrt {a+b x^2}} \, dx}{2 d^2}+\frac {(b c-a d)^2 \int \frac {1}{\sqrt {a+b x^2} \left (c+d x^2\right )} \, dx}{d^2}\\ &=\frac {b x \sqrt {a+b x^2}}{2 d}-\frac {(b (2 b c-3 a d)) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{2 d^2}+\frac {(b c-a d)^2 \text {Subst}\left (\int \frac {1}{c-(b c-a d) x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{d^2}\\ &=\frac {b x \sqrt {a+b x^2}}{2 d}-\frac {\sqrt {b} (2 b c-3 a d) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 d^2}+\frac {(b c-a d)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {b c-a d} x}{\sqrt {c} \sqrt {a+b x^2}}\right )}{\sqrt {c} d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.31, size = 126, normalized size = 1.12 \begin {gather*} \frac {b d x \sqrt {a+b x^2}-\frac {2 (-b c+a d)^{3/2} \tan ^{-1}\left (\frac {-d x \sqrt {a+b x^2}+\sqrt {b} \left (c+d x^2\right )}{\sqrt {c} \sqrt {-b c+a d}}\right )}{\sqrt {c}}+\sqrt {b} (2 b c-3 a d) \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{2 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1226\) vs.
\(2(91)=182\).
time = 0.10, size = 1227, normalized size = 10.86 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.79, size = 721, normalized size = 6.38 \begin {gather*} \left [\frac {2 \, \sqrt {b x^{2} + a} b d x - {\left (2 \, b c - 3 \, a d\right )} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) - {\left (b c - a d\right )} \sqrt {\frac {b c - a d}{c}} \log \left (\frac {{\left (8 \, b^{2} c^{2} - 8 \, a b c d + a^{2} d^{2}\right )} x^{4} + a^{2} c^{2} + 2 \, {\left (4 \, a b c^{2} - 3 \, a^{2} c d\right )} x^{2} - 4 \, {\left (a c^{2} x + {\left (2 \, b c^{2} - a c d\right )} x^{3}\right )} \sqrt {b x^{2} + a} \sqrt {\frac {b c - a d}{c}}}{d^{2} x^{4} + 2 \, c d x^{2} + c^{2}}\right )}{4 \, d^{2}}, \frac {2 \, \sqrt {b x^{2} + a} b d x + 2 \, {\left (2 \, b c - 3 \, a d\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (b c - a d\right )} \sqrt {\frac {b c - a d}{c}} \log \left (\frac {{\left (8 \, b^{2} c^{2} - 8 \, a b c d + a^{2} d^{2}\right )} x^{4} + a^{2} c^{2} + 2 \, {\left (4 \, a b c^{2} - 3 \, a^{2} c d\right )} x^{2} - 4 \, {\left (a c^{2} x + {\left (2 \, b c^{2} - a c d\right )} x^{3}\right )} \sqrt {b x^{2} + a} \sqrt {\frac {b c - a d}{c}}}{d^{2} x^{4} + 2 \, c d x^{2} + c^{2}}\right )}{4 \, d^{2}}, \frac {2 \, \sqrt {b x^{2} + a} b d x - 2 \, {\left (b c - a d\right )} \sqrt {-\frac {b c - a d}{c}} \arctan \left (\frac {{\left ({\left (2 \, b c - a d\right )} x^{2} + a c\right )} \sqrt {b x^{2} + a} \sqrt {-\frac {b c - a d}{c}}}{2 \, {\left ({\left (b^{2} c - a b d\right )} x^{3} + {\left (a b c - a^{2} d\right )} x\right )}}\right ) - {\left (2 \, b c - 3 \, a d\right )} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right )}{4 \, d^{2}}, \frac {\sqrt {b x^{2} + a} b d x + {\left (2 \, b c - 3 \, a d\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (b c - a d\right )} \sqrt {-\frac {b c - a d}{c}} \arctan \left (\frac {{\left ({\left (2 \, b c - a d\right )} x^{2} + a c\right )} \sqrt {b x^{2} + a} \sqrt {-\frac {b c - a d}{c}}}{2 \, {\left ({\left (b^{2} c - a b d\right )} x^{3} + {\left (a b c - a^{2} d\right )} x\right )}}\right )}{2 \, d^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b x^{2}\right )^{\frac {3}{2}}}{c + d x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (b\,x^2+a\right )}^{3/2}}{d\,x^2+c} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________